<div class="detaiTab detaiTab1 m10">
<form action="<@url value='/workflowsubmit/save_ns' />" class="action-ajax-form" method="post">
     <p class="p10 ">我的审批意见</p>
    <div class="detaiTab b_t">
     <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tbody>
          <tr>
          <td align="right" width="18%" class="bg fontW"><span class=" fs14"><span style="color:red;">*</span>综合费率（年化）:</span></td>
                  <td width="35%">
                  <span class="fs14"><input id="generalRate" type="hidden" name="generalRate" value="0.3"/>30%</span>
				 <span id="error" style="color:red;visibility:visible;"></span>
				 </td>
           <td align="right" class="bg" width="18%"><span style="color:red;">*</span>贷款期限:</td>
           <td><span class="fs14"><input type="hidden"  name="loanTerm" value="1"/>1个月</span>
		   </td>
				<input id="loanapplyNo" type="hidden" name="loanapplyNo" value="${loan.loanapplyNo}"/>
				<input  type="hidden" name="nodeCode" value="${nodeCode}"/>
            </tr>
            
            <tr>	
              <td align="right" class="bg"><span class=" fs14"><span style="color:red;">*</span>贷款利率（年化）:</span></td>
                <td><span class=" fs14" id="loanrate">18%年</span>
                	<input type="hidden" value="0.18" id="loanRate" name="loanrate"/>
                </td>
               <td align="right" class="bg"><span class=" fs14"><span style="color:red;">*</span>还款方式:</span></td>
               <td><span class="fs14"><@select id="repayMentway" dataSouceType="OTOREPAYMENTWAY" name="repayMentway" value="${loan.repayMentway}"/></span></td>
			 </tr>
             <tr>	
                 <td align="right" class="bg"><span class=" fs14"><span style="color:red;">*</span>管理费率（年化）:</span></td>
                 <td><span class="fs14">
                 <input type="hidden" name="managefeerate" value="0.12"/>12%</span>
                 <span id="mangerError" style="color:red;visibility:visible;"></span>
				 </td>
                  <td align="right" class="bg"><span class=" fs14"><span style="color:red;">*</span>保证金费率（年化）:</span></td>
                  <td><span class="fs14">
                  <input type="hidden" name="depositrate" value="0"/>0%</span>
					</td>
              </tr>
               <tr>	
                <td align="right" class="bg"><span class=" fs14"><span style="color:red;">*</span>风险补偿金（年化）:</span></td>
                 <td>
                 <span class="fs14" id="expandRisk"></span>
                 <input type="hidden" name="risk" value="0" id="risk"/>0%
				 </td>
				  <td align="right" class="bg" width="15%"><span style="color:red;">*</span>EA批复额度:</td>  
				  <td>
				    <input id="eaMount" type="text" name="eaMount" class="tabInp inputNum action-valid-field" value="${loan.eaMount}" data-action-valid-rule="required;reg:^([0-9]+|[0-9]{1,3}(,[0-9]{3})*)(.[0-9]{1,2})?$;max:500000" data-action-valid-msg-reg="金额只能输入数字" data-action-valid-msg-required="金额不能为空" data-action-valid-msg-max="EA批复额度不能超过50万" autocomplete="off"/>
				    <span class="action-field-error" for="eaMount" style="color:red;"></span>
				  </td>
              </tr>
              
              <tr>	
                <td align="right" class="bg"><span class=" fs14"><span style="color:red;">*</span>贷款用途:</span></td>
                 <td>
                 <span class="fs14"><@select id="paymentType" dataSouceType="PAYMENTTYPE" name="paymentType" 
                 value="${loan.paymentType}"/></span>
				 </td>
				  <td align="right" class="bg" width="15%"><span style="color:red;">*</span>送审银行:</td>  
				  <td>
				  <span class="fs14"><@select dataSouceType="BANKTYPEO2O_SB" onchange="onBankSelect()" id="bankLoanName"
							value="EA" renderonly="true"/></span><input  type="hidden" name="bankLoanName"  value="EA"/>
							<span id="bankError" style="color:red;visibility:visible;"></span>
				  </td>
              </tr>
              <#if nodeCode=='NS_XDJL'>
              <tr>	
              <!--
                <td align="right" class="bg" title="如果该笔贷款由合资公司提供担保，则选择相对应的经办平台作为回购担保方，如果该笔贷款合资公司不提供担保，则选择O2O金融中心作为回购担保方"><span style="color:red;">*</span>回购担保方<span class=" wenhaoIco">:</span></td>
                 <td colspan="3">
                 <span class="fs14"><@autocomplete url="/loanrest/findUnits?name="
									name="buybackName" onclick="_onchange_hidden_input('buybackId');"
									value="${loan.buybackName}" hideIdName="buybackId"
									hideIdValue="${loan.buybackId}"/>(联想)</span>
				 </td>
				 -->
				 <td width="15%" align="right" class="bg"  title="1、自营模式：贷款由380金服平台自行获客，并由380金服平台对合作银行提供回购担保； 2、共享模式：贷款由各经办机构推荐获客，并由经办机构对合作银行提供回购担保； 3、推荐模式：贷款由各经办机构推荐获客，由380金服平台对合作银行提供回购担保，续贷不计入佣金模式，计入自营模式。">经营模式<span class=" wenhaoIco"></span>:</td>
								<td colspan="3" ><@select dataSouceType="OPERATION_MODEL"
									name="operationModel" onchange="chechkSelect('operationModel');"
									id="operationModel" value="${loanApplyFileEntity.operationModel}"
									class="tabInp action-valid-field" /> <span
									id="operationModel_ERROR" style="color: red;"></span>
				</td>
              </tr>
              </#if>
				<tr>
				<td class="bg" align="right">管理费:</td><td colspan="3">（接力贷）管理费=(EA批复额度*年化费率*贷款月数)/12</td>
				</tr>
         	  <tr>
					<td class="bg" align="right">操作:</td>
					<td colspan="3">
					<input type="submit" value="保存" class="btn_auto_30 btn_blue" /><span class="red fs14 ml10">(提示：请先点击【保存】按钮，再审核该单据！)</span></td>
				</tr>
				<!--
				  <tr>
				<td class="bg" align="right"></td>
					<td>
						<a href="<@url value='/payment/upload?referId=${loan.loanapplyNo}'/>" target="_blank">补充附件</a>
					</td>
				</tr>
				-->
          </tbody>
       </table>  
       
   </div>
   </form>
       <div class="openBox action-ajax-load" data-url="<@url value='/workflowcheck/ns_ea?loanapplyNo=${loan.loanapplyNo}&nodeCode=${nodeCode}'/>" id="file_uploader"></div>
       </div>
       <@js>
      function onMangerSelect(manager){
     	 var manger=$("#manger").val()*1;
      	 var generalRate=$("#generalRate").val()*1;
      	 var rate=generalRate-manger;
      	 $("#loanrate").html((rate*100).toFixed(2)+"%");
      	 $("#loanRate").val(rate.toFixed(4));
     	 }
       </@js>
       <@jsRender/>
	</form>
